package com.ruoyi.prod.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商品信息对象 tb_prod_info
 * 
 * @author ruoyi
 * @date 2025-08-01
 */
public class TbProdInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 信息ID */
    private Integer infoId;

    /** SKU */
    @Excel(name = "SKU")
    private String prodSku;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Integer prodId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String prodName;

    /** 商品售价 */
    @Excel(name = "商品售价")
    private BigDecimal prodPrice;

    /** 成本价 */
    @Excel(name = "成本价")
    private BigDecimal costPrice;

    /** 库存 */
    @Excel(name = "库存")
    private Integer prodStock;

    public void setInfoId(Integer infoId)
    {
        this.infoId = infoId;
    }

    public Integer getInfoId()
    {
        return infoId;
    }
    public void setProdSku(String prodSku) 
    {
        this.prodSku = prodSku;
    }

    public String getProdSku() 
    {
        return prodSku;
    }
    public void setProdId(Integer prodId)
    {
        this.prodId = prodId;
    }

    public Integer getProdId()
    {
        return prodId;
    }
    public void setProdName(String prodName) 
    {
        this.prodName = prodName;
    }

    public String getProdName() 
    {
        return prodName;
    }
    public void setProdPrice(BigDecimal prodPrice) 
    {
        this.prodPrice = prodPrice;
    }

    public BigDecimal getProdPrice() 
    {
        return prodPrice;
    }
    public void setCostPrice(BigDecimal costPrice) 
    {
        this.costPrice = costPrice;
    }

    public BigDecimal getCostPrice() 
    {
        return costPrice;
    }
    public void setProdStock(Integer prodStock)
    {
        this.prodStock = prodStock;
    }

    public Integer getProdStock()
    {
        return prodStock;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("infoId", getInfoId())
            .append("prodSku", getProdSku())
            .append("prodId", getProdId())
            .append("prodName", getProdName())
            .append("prodPrice", getProdPrice())
            .append("costPrice", getCostPrice())
            .append("prodStock", getProdStock())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
